.dynamic{
  display: flex;
  flex-direction: column;
  .main{
    flex: 1;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    background-color: #ccc;   
  }
}